SftTree/OCX 7.0

SftTreeItems.MinHeightPix Property

Softel vdm, Inc.

Defines the minimum height of all items.

Syntax       

Get

VB.NET

MinPix = object.MinHeightPix  As Integer

VB

MinPix = object.MinHeightPix  As Long

C#.NET

int MinPix = object.MinHeightPix;

VC++

long MinPix = object->MinHeightPix;
long MinPix = object->GetMinHeightPix();

C

HRESULT object->get_MinHeightPix(long* MinPix);

Delphi

MinPix := object.MinHeightPix   : Integer;

Put

VB.NET

object.MinHeightPix = MinPix  As Integer

VB

object.MinHeightPix = MinPix  As Long

C#.NET

int object.MinHeightPix = MinPix;

VC++

long object->MinHeightPix = MinPix;
void object->PutMinHeightPix(long MinPix);

C

HRESULT object->put_MinHeightPix(long MinPix);

Delphi

object.MinHeightPix := MinPix   : Integer;

object

A SftTreeItems object.

MinPix

Defines the minimum height of all items in pixels.  If 0 is specified, no minimum height is defined.

Comments

The MinHeightPix property defines the minimum height of all items.

If items are smaller than the defined minimum height, they are extended and use the defined minimum height.

This property has no effect when variable height items are used (see Items.Style).  The Item.MinHeightPix and Item.MaxHeightPix properties can be used for variable height items to define the minimum and maximum height for each individual item.

The Items.Lines property can be used to define the number of text lines used for item height calculation.

The Items.MaxHeightPix property defines the maximum height of all items.

See Also  SftTreeItems Object | Object Hierarchy


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com